package com.zhao.dota.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zhao.dota.contant.GameModelConst;
import com.zhao.dota.contant.TeamConst;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
public class LeagueMatch {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer leagueId;

    private LocalDateTime createTime;

    private Integer createUserId;
    /**
     * dota_match表主键
     */
    private Integer dotaMatchId;
    /**
     * 结束时间
     */
    private LocalDateTime endTime;
    /**
     * dota2的比赛id
     */
    private Long matchId;
    /**
     * 模式
     */
    private GameModelConst gameMode;
    /**
     * 胜利方
     */
    private TeamConst winner;

    private Boolean captainMode;

}
